package cn.onein.edu.web.service;

import java.util.List;
import java.util.Map;

import cn.onein.edu.biz.bean.ContentTags;
import cn.onein.edu.biz.bean.LearnContent;

/**
 * 育儿百科查询、Tag和文章 service接口
 * @author Upton
 *
 */
public interface LearnContentService {
	
	public abstract LearnContent learnContentById(Long id);
	
	public abstract List<LearnContent> getContentListBytag(String tagword,Integer currPage,Integer perpageSize);
	 
	public abstract void getSearchContent(Map<String,Object> map,String search,Integer currPage,Integer perpageSize,String path);
	
	public abstract Integer getContentCountBySearch(String search);
	
	public abstract Integer getContentCountByTag(String tagword);

	public abstract List<ContentTags> getHotTags();	
	
	public abstract List<LearnContent> getHotContentByHits(int count);
	
}
